﻿@model Azure.Online.Web.Controllers.WikiToHtmlModel
@{
    ViewBag.Title = "Wiki To Html";
}

<h2>WikiToHtml</h2>
<form action="@Url.Action("WikiToHtml")" method="POST">
    <textarea name="wiki" cols="80" rows="20" style="height: 300px" >@Html.Raw(Model.Wiki)</textarea>
    <input type="submit" value="Submit" />
</form>
@if (!string.IsNullOrWhiteSpace(Model.Content)) {
    <div>@Html.Raw(Model.Encoded)</div>    
}
